package com.lyf.scm.common.constants;

import java.io.Serializable;

/**
 * description:
 *
 * @author: haodong
 * @data: 2020/11/5 17:41
 */
public class EsAggrFunTypeConstants implements Serializable {

    /**
     * 汇总
     */
    public static final int SUM = 1;
    /**
     * 最大值
     */
    public static final int MAX = 2;
    /**
     * 最小值
     */
    public static final int MIN = 3;
    /**
     * 平均值
     */
    public static final int AVG = 4;
    /**
     * 文档计数
     */
    public static final int COUNT = 5;
    /**
     * 值去重计数
     */
    public static final int CARDINALITY = 6;
    /**
     * 统计 count max min avg sum 5个值
     */
    public static final int STATS = 7;
    /**
     * 统计 count max min avg sum 平方和、方差、标准差、平均值加/减两个标准差的区间
     */
    public static final int EXTENDED_STATS = 8;
}
